package org.jeecg.modules.electricity.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * Created by IntelliJ IDEA
 *
 * @Description:按照房间人数和学历充值免费电
 * @Author : M-JDD
 * @create 2023/6/15 10:19
 */
@Data
@ApiModel(value="充值免费电", description="充值免费电")
public class LwgyFreeCharge implements Serializable {
    private static final long serialVersionUID = 1L;

    /**主键*/
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
    /**校区*/
    @Excel(name = "校区", width = 15)
    @ApiModelProperty(value = "校区")
    private String campusId;
    /**楼宇*/
    @ApiModelProperty(value = "楼宇")
    private String buildingId;
    /**单元*/
    @ApiModelProperty(value = "单元")
    private String unitId;
    /**楼层*/
    @ApiModelProperty(value = "楼层")
    private String layerId;
    /**房间*/
    @ApiModelProperty(value = "房间")
    private String roomId;
    /**房间人数*/
    @Excel(name = "房间人数", width = 15)
    @ApiModelProperty(value = "房间人数")
    private String studentCount;
    /**学历*/
    @Excel(name = "学历", width = 15, dicCode = "student_education")
    @Dict(dicCode = "student_education")
    @ApiModelProperty(value = "学历")
    private String studentEducation;
    /**线路类型*/
    @Excel(name = "线路类型", width = 15)
    @Dict(dicCode = "xllx")
    @ApiModelProperty(value = "线路类型")
    private String xl;
    /**免费电量*/
    @Excel(name = "免费电量", width = 15)
    @ApiModelProperty(value = "免费电量")
    private String mfDl;
    /**校区*/
    @Excel(name = "校区名", width = 15)
    @ApiModelProperty(value = "校区名")
    private String campusName;
    /**楼宇名*/
    @Excel(name = "楼宇名", width = 15)
    @ApiModelProperty(value = "楼宇名")
    private String buildingName;
    /**房间名*/
    @Excel(name = "房间名", width = 15)
    @ApiModelProperty(value = "房间名")
    private String roomName;
    /**充值人*/
    @Excel(name = "充值人", width = 15)
    @ApiModelProperty(value = "充值人")
    private String createBy;
    /**充值人*/
    @Excel(name = "机器码", width = 15, dicCode = "xllx")
    @ApiModelProperty(value = "机器码")
    private String roomNumber;
    /**充值时间*/
    @Excel(name = "充值时间", width = 15)
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "充值时间")
    private Date createTime;
    /**充值状态0-未充值 1-已充值*/
    @Excel(name = "充值状态", width = 15)
    @ApiModelProperty(value = "充值状态")
    private String state;
}
